package com.lyc.campuslife.service;

import com.lyc.campuslife.entity.SeckillVoucher;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lyc.campuslife.entity.Voucher;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * 秒杀优惠券表，与优惠券是一对一关系 服务类
 * </p>
 *
 * @author lyc
 * @since 2024-05-07
 */
public interface ISeckillVoucherService extends IService<SeckillVoucher> {

    @Transactional
    void addSeckillVoucher(Voucher voucher);
}
